﻿using System.Threading.Tasks;
using SmartCity.Shared;
using Volo.Abp.Application.Services;

namespace ParkManagement
{
    /// <summary>
    /// 停车场应用服务接口
    /// </summary>
    public interface ILotAppService : IApplicationService
    {
        /// <summary>
        /// 分页列表
        /// </summary>
        /// <param name="request"></param>
        /// <param name="address"></param>
        /// <param name="open"></param>
        /// <param name="parkName"></param>
        Task<ListResponse<LotDto>> PagedListAsync(
            PagedListRequest request,
            string address,
            string open,
            string parkName);

        /// <summary>
        /// 详情
        /// </summary>
        /// <param name="id"></param>
        Task<ResultResponse<LotDto>> GetAsync(int id);
    }
}